www.gusucode.com > VC++ 特殊网址访问器源代码-源码程序 > VC++ 特殊网址访问器源代码-源码程序/code/Demo3/UrlDlg.cpp
// UrlDlg.cpp : implementation file // Download by http://www.NewXing.com #include "stdafx.h" #include "Demo03.h" #include "UrlDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CUrlDlg dialog CUrlDlg::CUrlDlg(CWnd* pParent /*=NULL*/) : CDialog(CUrlDlg::IDD, pParent) { //{{AFX_DATA_INIT(CUrlDlg) m_strUrl = _T(""); //}}AFX_DATA_INIT } void CUrlDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CUrlDlg) DDX_Text(pDX, IDC_EDIT_URL, m_strUrl); DDV_MaxChars(pDX, m_strUrl, 50); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CUrlDlg, CDialog) //{{AFX_MSG_MAP(CUrlDlg) // NOTE: the ClassWizard will add message map macros here //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CUrlDlg message handlers